Skip to content

查询在途异常资金付款指令执行结果

发起在途异常资金付款后,可通过该接口快速查询相关指令单的流程状态。注:接口限频100次/秒。

请求参数类型描述
receipt_idstring微信支付在途异常资金付款单号
out_instruction_nostring商户侧指令编号
php
$instance->v3->abnormalFundProcessing->receipts->_receipt_id_->transferInstructions->_out_instruction_no_->getAsync([
  'receipt_id' => '0100011742874700562078230000',
  'out_instruction_no' => '1200002',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/abnormal-fund-processing/receipts/{receipt_id}/transfer-instructions/{out_instruction_no}')->getAsync([
  'receipt_id' => '0100011742874700562078230000',
  'out_instruction_no' => '1200002',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/abnormal-fund-processing/receipts/{receipt_id}/transfer-instructions/{out_instruction_no}']->getAsync([
  'receipt_id' => '0100011742874700562078230000',
  'out_instruction_no' => '1200002',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->abnormalFundProcessing->receipts->_receipt_id_->transferInstructions->_out_instruction_no_->get([
  'receipt_id' => '0100011742874700562078230000',
  'out_instruction_no' => '1200002',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/abnormal-fund-processing/receipts/{receipt_id}/transfer-instructions/{out_instruction_no}')->get([
  'receipt_id' => '0100011742874700562078230000',
  'out_instruction_no' => '1200002',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/abnormal-fund-processing/receipts/{receipt_id}/transfer-instructions/{out_instruction_no}']->get([
  'receipt_id' => '0100011742874700562078230000',
  'out_instruction_no' => '1200002',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
out_instruction_nostring商户侧指令编号
commanderobject在途异常资金付款指令的发起方
operatorstring发起在途异常资金付款请求的角色
MERCHANT 枚举值
mchidstring微信支付商户号
transfer_modestring付款方式
TRANSFER_TO_ORIGINAL_RECEIVE_USER | TRANSFER_MODE_TO_ORIGINAL_RECEIVE_MERCHANT | TRANSFER_MODE_TO_SPECIFIED_RECEIVE_MERCHANT 枚举值之一
receiverobject收款方
account_typestring入账账户类型
openidstring入账用户OpenID
appidstring商户AppID
mchidstring入账商户号
instruction_statestring在途异常资金付款指令状态
INSTRUCTION_STATE_PENDING | INSTRUCTION_STATE_IN_PROGRESS | INSTRUCTION_STATE_CLOSED | INSTRUCTION_STATE_SUCCESS 枚举值之一
create_timestring在途异常资金付款指令创建时间
success_timestring入账成功时间
close_timestring在途异常资金付款指令关闭时间
notify_urlstring回调通知地址
instruction_instance_idstring微信支付在途异常资金付款指令执行流水号

参阅 官方文档

Published on the GitHub by TheNorthMemory